package com.spboot.tx.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.jntoo.db.*;
import java.io.Serializable;
import java.util.*;

@TableName("jieguo")
public class Jieguo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer wenjuanid;

    private String zhuti;

    private String yisheng;

    private Integer zongdefen;

    private String pinggu;

    private String yonghu;

    private String addtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWenjuanid() {
        return wenjuanid;
    }

    public void setWenjuanid(Integer wenjuanid) {
        this.wenjuanid = wenjuanid == null ? 0 : wenjuanid;
    }

    public String getZhuti() {
        return zhuti;
    }

    public void setZhuti(String zhuti) {
        this.zhuti = zhuti == null ? "" : zhuti.trim();
    }

    public String getYisheng() {
        return yisheng;
    }

    public void setYisheng(String yisheng) {
        this.yisheng = yisheng == null ? "" : yisheng.trim();
    }

    public Wxuser getYishenguser() {
        return DB.name(Wxuser.class).where("id", yisheng).find();
    }

    public Integer getZongdefen() {
        return zongdefen;
    }

    public void setZongdefen(Integer zongdefen) {
        this.zongdefen = zongdefen == null ? 0 : zongdefen;
    }

    public String getPinggu() {
        return pinggu;
    }

    public void setPinggu(String pinggu) {
        this.pinggu = pinggu == null ? "" : pinggu.trim();
    }

    public String getYonghu() {
        return yonghu;
    }

    public void setYonghu(String yonghu) {
        this.yonghu = yonghu == null ? "" : yonghu.trim();
    }

    public Wxuser getYonghuuser() {
        return DB.name(Wxuser.class).where("id", yonghu).find();
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime == null ? "" : addtime.trim();
    }
}
